package com.yz.dba.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 段成
 * @date 2019/12/18 - 8:11
 */
@FeignClient(value = "migration-forlogin")
public interface LoginFeign {
    @GetMapping("/getUsername")
    public String getUsername(@RequestParam String token);
}
